import java.io.File;
/**
 * This filter returns *.apk and *.jar files.
 * @author Tzafrir
 *
 */
	class AndroidFilter extends javax.swing.filechooser.FileFilter {
		///this filter accept apk files, jar files and odex files.
	    public boolean accept(File f) {
	        return f.isDirectory() || f.getName().toLowerCase().endsWith(".apk") || f.getName().toLowerCase().endsWith(".jar");
	    }   
	    public String getDescription() {
	        return "*.apk *.jar files";
	    }
	}
